package com.xinsoft.service;

import com.xinsoft.entity.dto.MesCraftDTO;
import com.xinsoft.entity.dto.MesCraftParam;
import com.xinsoft.entity.po.MesCraft;
import com.baomidou.mybatisplus.extension.service.IService;
import org.json.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
* @author lijie
* @description 针对表【mes_craft(工艺路线)】的数据库操作Service
* @createDate 2023-07-20 10:25:16
*/
public interface MesCraftService extends IService<MesCraft> {

    Object findPageListByParam(MesCraftParam param);

    Map<String, Object> getInfoById(Integer id);

    void edit(MesCraftDTO mesCraftDTO);

    void create(MesCraftDTO mesCraftDTO);

    JSONObject importExcel(MultipartFile multipartFile) throws IOException;
}
